package chapter2.src.com.kkb.array;

import java.util.Stack;

/**
 * @author : wushikai
 * <p>
 * date : 2021-03-15
 */
public class StackDemo {


    public  static   Stack<String> getStack ( ){

        Stack<String> stringStack = new Stack<>();
        stringStack.push("林育容");
        stringStack.push("罗帅");
        stringStack.push("小楼");
        return stringStack;

    }


    public static void main(String[] args){
        Stack<String> stack = getStack();
        System.out.println(stack.toString());


    }


}
